import express from 'express'
import cors from 'cors'
import { PORT } from './conf.js'
import {source_code, prefix } from './routes/source_code_api/index.js'

const app = express()

app.use(cors())
app.use(prefix, source_code)

app.listen(PORT, () => {
    console.log(`Server running on port http://localhost:${PORT}`)
})
